package com.jiguang.property.mapper;

import com.jiguang.property.dto.CostStatiesDTO;
import com.jiguang.property.entity.CostInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2025-03-27
 */
public interface CostInfoMapper extends BaseMapper<CostInfo> {

    /**
     * 查询缴费
     */
    List<CostStatiesDTO> selectStatiesByCost(@Param("userId") String userId);

    /**
     * 查询缴费
     */
    List<CostStatiesDTO> selectStatiesByUpkeep(@Param("upkeepId") String upkeepId,@Param("reporterId")  String reporterId);

}
